#include "s3c2440_soc.h"
#include "uart.h"
#include "my_printf.h"

int main()
{

    unsigned char c;
    uart0_init();
    puts("hello uart \n\r");
    
    my_printf_test();
    
    while(1){
	c = getchar();
	if (c == '\r') {
	    putchar('\n');
	}

	if (c == '\n') {
	    putchar('\r');   
	}
	putchar(c);
    }
    return 0;
}
